package com.health.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.health.system.entity.HealthSuggestions;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author baomidou
 * @since 2024-06-22
 */
public interface HealthSuggestionsService extends IService<HealthSuggestions> {
    IPage<HealthSuggestions> getAllHealthSuggestions(Long current, Long size);
    HealthSuggestions getHealthSuggestionsById(Integer id);
    List<HealthSuggestions> getHealthSuggestionsByStars(String stars);
    void addHealthSuggestions(HealthSuggestions healthSuggestions);
    void updateHealthSuggestions(HealthSuggestions healthSuggestions);
    void deleteHealthSuggestions(Integer id);
}
